home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmCvtXmStringToByteStream.z
/
XmCvtXmStringToByteStream
Wrap
Text File
|
1998-10-30
|
4KB
|
67 lines
XXXXmmmmCCCCvvvvttttXXXXmmmmSSSSttttrrrriiiinnnnggggTTTTooooBBBByyyytttteeeeSSSSttttrrrreeeeaaaammmm((((3333UUUUXXXXNNNN))))IIIIXXXX SSSSyyyysssstttteeeemmmmXXXXmmmmVVVVCCCCvvvvttttXXXXmmmmSSSSttttrrrriiiinnnnggggTTTTooooBBBByyyytttteeeeSSSSttttrrrreeeeaaaammmm((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmCCCCvvvvttttXXXXmmmmSSSSttttrrrriiiinnnnggggTTTTooooBBBByyyytttteeeeSSSSttttrrrreeeeaaaammmm - A compound string function that
converts a compound string to a Byte Stream format
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/Xm.h>
uuuunnnnssssiiiiggggnnnneeeedddd iiiinnnntttt XXXXmmmmCCCCvvvvttttXXXXmmmmSSSSttttrrrriiiinnnnggggTTTTooooBBBByyyytttteeeeSSSSttttrrrreeeeaaaammmm(
XXXXmmmmSSSSttttrrrriiiinnnngggg ssssttttrrrriiiinnnngggg,
uuuunnnnssssiiiiggggnnnneeeedddd cccchhhhaaaarrrr ********pppprrrroooopppp____rrrreeeettttuuuurrrrnnnn);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmCCCCvvvvttttXXXXmmmmSSSSttttrrrriiiinnnnggggTTTTooooBBBByyyytttteeeeSSSSttttrrrreeeeaaaammmm converts a compound string to a
string of bytes representing the compound string in Byte
Stream format. This routine is typically used by the source
of a data transfer operation to produce a Byte Stream
representation for transferring a compound string to a
destination.
If _p_r_o_p__r_e_t_u_r_n is not NULL, this function creates a string
of characters in Byte Stream format and returns it in
_p_r_o_p__r_e_t_u_r_n. The function also returns the number of bytes
in _p_r_o_p__r_e_t_u_r_n. If _p_r_o_p__r_e_t_u_r_n is NULL, the function does
not return the Byte Stream format string, but it does
calculate and return the number of bytes that would appear
in the Byte Stream format string.
_s_t_r_i_n_g Specifies a compound string to be converted to
Byte Stream format
_p_r_o_p__r_e_t_u_r_n
Specifies a pointer to a string in Byte Stream
format that is created and returned by this
function. If _p_r_o_p__r_e_t_u_r_n is NULL, no Byte Stream
format string is returned. When a Byte Stream
format string is returned, the function allocates
space to hold it. The application is responsible
for managing this allocated space. The
application can recover the allocated space by
calling XXXXttttFFFFrrrreeeeeeee.
RRRREEEETTTTUUUURRRRNNNN
Returns the number of bytes in the Byte Stream
representation (whether or not the Byte Stream
representation is returned).
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmSSSSttttrrrriiiinnnngggg(3) and XXXXmmmmCCCCvvvvttttBBBByyyytttteeeeSSSSttttrrrreeeeaaaammmmTTTTooooXXXXmmmmSSSSttttrrrriiiinnnngggg(3).
Page 1 (printed 10/24/98)